Overview

This notebook explores the variance of traits across different levels of biological organization: within colonies, among colonies, among species, and among genera. There are many possibilities for analyses, so this will probably become a rather long notebook.


Density plots

First, it’s worth just looking at the distribution of traits within each species. We can do this for each trait, treating each worker (incorrectly) as an independent measurement.


Formal variance partitioning

Here is variance partitioning with ape::varpart().

Overall

Partitioning by genus

Partitioning by species


PCA

Here is some PCA.

Overall

By genus

## $`1`

## 
## $`2`

## 
## attr(,"class")
## [1] "list"      "ggarrange"

By species

## $`1`

## 
## $`2`

## 
## $`3`

## 
## $`4`

## 
## $`5`

## 
## $`6`

## 
## $`7`

## 
## attr(,"class")
## [1] "list"      "ggarrange"